package ldh.im.admin.dao;

import ldh.im.admin.pojo.RoleAuthority;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author: ldh
* @date: 2019-10-25 12:35:06
*/
public interface RoleAuthorityDao {

	Integer insert(RoleAuthority roleAuthority);

	Integer inserts(List<RoleAuthority> roleAuthorityList);

	Integer insertSelective(RoleAuthority roleAuthority);

    int deleteByRoleIdAndAuthorityId(@Param("roleId") Long roleId, @Param("authorityId") Long authorityId);
}
